package com.jz.community.moduleshoppingguide.home.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshoppingguide.home.bean.ChunnelNewbornBean;
import com.jz.community.moduleshoppingguide.home.bean.HomeFindBean;
import com.jz.community.moduleshoppingguide.home.bean.HomeRecommendBean;
import com.jz.community.moduleshoppingguide.home.bean.LimitGoodsBean;
import com.jz.community.moduleshoppingguide.home.bean.QueryCouponState;

import java.util.List;

public interface HomeFindView extends MVPContract {

    interface View extends MVPContract.View {
        void showHomeChannel(HomeFindBean homeFindBean);

        void showHomeRecommend(HomeRecommendBean homeRecommendBean, int refreshFlag);

        void showChunnelNewborn(ChunnelNewbornBean chunnelNewbornBean);

        void setGoodsData(LimitGoodsBean entity, String startTime, String endTime);

        void showError(String s, int type, int refreshFlag);
    }

    interface Presenter extends MVPContract.Presenter<HomeFindView.View> {
        void getChunnelHomePage(int page, int size, String cityCode);

        void getHomeRecommend(int page, int size, int refreshFlag);

        void getChunnelNewborn(int page, int size);

        void initGoodsData(String cityId, String startTime, String endTime, int page, int size);
    }
}
